How to Parse Web request Response in DXL?

Dear All,

I am calling WCF from DXL. It is working well. But the problem is that I can not parse the respose. I am getting the response text by following

string sResult = ""

oleGet(xmlhttp, "responseText",sResult )

The Response Text looks like:

---------------------------------------------------------------------------------------------------

--uuid:83a922d5-df47-4e6a-87e5-793ceaa7f968+id=1
Content-ID: <http://tempuri.org/0>
Content-Transfer-Encoding: 8bit
Content-Type: application/xop+xml;charset=utf-8;type="text/xml"

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><GetLastSessionNoResponse xmlns="Kovair.OmnibusAdapter"><GetLastSessionNoResult>21</GetLastSessionNoResult></GetLastSessionNoResponse></s:Body></s:Envelope>

-----------------------------------------------------------------------

I want to get the value of GetLastSessionNoResult tag.

Waiting for your help

With Regards,

Tapas


montapas - Fri Mar 28 00:24:46 EDT 2014

Re: How to Parse Web request Response in DXL?
SudarshanRao - Thu Apr 03 01:19:01 EDT 2014

You may find discussion in the following thread helpful..

https://www.ibm.com/developerworks/community/forums/html/topic?id=77777777-0000-0000-0000-000014461457